package cn.ahaiahaixx.supemarketonline.service;

import cn.ahaiahaixx.supemarketonline.model.TbConfigModel;
import cn.ahaiahaixx.supemarketonline.utils.JsonMessage;

public interface ConfigService {

  /**
   * 修改token修改时间
   * @param model
   * @return
   * @throws Exception
   */
  JsonMessage updateTokenTimeout(TbConfigModel model) throws Exception;

  /**
   * 查询配置
   * @param tbConfigModel
   * @return
   * @throws Exception
   */
  JsonMessage queryTokenTimeout(TbConfigModel tbConfigModel) throws Exception;

  /**
   * 修改标题
   * @param model
   * @return
   * @throws Exception
   */
  JsonMessage updateTitle(TbConfigModel model) throws Exception;

  /**
   * 查询前端配置
   * @param model
   * @return
   * @throws Exception
   */
  JsonMessage queryWebConfig(TbConfigModel tbConfigModel) throws Exception;



}
